<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<c:url value="/" var="baseUrl" />    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="${baseUrl}css/main.css">
<title>用户登录</title>
</head>
<body>
	<div class="page-center">
		<form action="${baseUrl}Login" method="post">

			<table align="center">
				<caption>用户登录</caption>
				<tr>
					<td colspan="3" align="center" style="color: red;">
						${error.error} <span id="msgError"></span>
					</td>
				</tr>
				<tr>
					<td>账号：</td>
					<td><input type="text" name="account" value="${input.account}"
						style="width: 120px" /></td>
					<td style="color: red;">${error.account}</td>
				</tr>
				<tr>
					<td>密码：</td>
					<td><input type="password" name="passwd"
						value="${input.passwd}" style="width: 120px" /></td>
					<td style="color: red;">${error.passwd}</td>
				</tr>
				<tr>
					<td colspan="3" align="center"><input type="submit" value="登录" />
					</td>
				</tr>
			</table>

		</form>
	</div>
</body>
</html>